package com.ntv.persistent.user;

import java.util.List;

import com.ntv.domain.IUser;
import com.ntv.persistent.PersistentException;

public interface IUserDao {
	public List<IUser> getUsers() throws PersistentException ;
	public IUser findUserByID(Long userId) throws PersistentException ;
	public IUser findUserByName(String name) throws PersistentException ;
	public IUser findUser(String email, String password) throws PersistentException ;
	public IUser findUserByEmail(String email) throws PersistentException ;
	public IUser createUser(IUser user)  throws PersistentException ;
	
}
